home *** CD-ROM | disk | FTP | other *** search
- /* the view might be correct here, I use my own viewing coords. */
- /* the table is about 7x7x2, nothing much else to say about it */
- /* D. Hutchinson */
-
- view
- from 10 10 7.5
- towards 4.5 3 0
- up 0 0 1
- window 14 -14 14 -14 /* Umax Umin Vmax Vmin */
- end
-
- defobj
- xysquare /* normal along -z */
-
- shift -0.5 -0.5 -0.5
-
- polygon
- 4
- 0 0 0
- 0 1 0
- 1 1 0
- 1 0 0
- end
- end
-
- defobj
- slab
-
- instobj xysquare end
-
- instobj xysquare rotate y 180 end
- end
-
- defobj
- unit_box
- box
- 0 0 0
- 1.0 1.0 1.0
- end
- end
-
- defprops
- wood
- drc 0.7725 0.6863 0.4353
- end
-
- defprops
- darkwood
- drc 0.6745 0.5373 0.3882
- end
-
- defprops
- grey
- drc 0.6 0.6 0.6
- end
-
- defobj /* AABB: 0 0 0, 2.1 2 3 */
- chair
-
- instprops grey
- shift -1 0 0
-
- instobj unit_box /* sit on bit */
- scale 2 2 0.15
- shift 0.1 0 1.5
- instprops wood
- end
-
- instobj unit_box /* leg1 */
- scale 0.1 0.1 3
- end
-
- instobj unit_box /* leg2 */
- scale 0.1 0.1 3
- shift 0 1.9 0
- end
-
- instobj unit_box
- scale 0.1 0.1 1.5
- shift 2 0 0
- end
-
- instobj unit_box
- scale 0.1 0.1 1.5
- shift 2 1.9 0
- end
-
- instobj unit_box /* back rest */
- scale 0.15 2 0.7
- shift 0.1 0 2.3
- instprops wood
- end
- end
-
- /*light */
- instobj xysquare
- props emission 2 2 2 end
- rotate z 45
- shift 3 4 10
- end
-
- /* floor */
- polygon
- 4
- 0 0 0
- 1 0 0
- 1 1 0
- 0 1 0
- instprops grey
- scale 40 40 1
- shift -20 -20 0
- end
-
-
-
- /* 4 chairs */
-
- instobj
- chair
- name chair_i1
- end
-
- instobj
- chair
- name chair_i2
- shift 0 3 0
- end
-
- instobj
- chair
- name chair_i3
- shift -1.05 -1 0
- rotate z 180
- shift 6.05 1 0
- end
-
- instobj
- chair_i3
- name chair_i4
- shift 0 3 0
- end
-
- instobj chair rotate z 30 rotate y 40 rotate x 50 shift 3 3 2.4 end
-
- /* table */
- compobj /* AABB: 0.5 -1 0, 6.5 6 2.2 */
- name table
-
-
- instobj unit_box
- instprops darkwood
- scale 6 7 0.2
- shift 0.5 -1 2
- end
-
- instobj unit_box /* leg 1 */
- instprops darkwood
- scale 0.2 0.2 2
- shift 0.6 -0.9 0
- end
-
- instobj unit_box /* leg 2 */
- instprops darkwood
- scale 0.2 0.2 2
- shift 0.6 5.7 0
- end
-
- instobj unit_box /* leg 3 */
- instprops darkwood
- scale 0.2 0.2 2
- shift 6.2 -0.9 0
- end
-
- instobj unit_box /* leg 4 */
- instprops darkwood
- scale 0.2 0.2 2
- shift 6.2 5.7 0
- end
-
- end
-